package com.nattakute.service;

import java.util.List;

import com.nattakute.model.Users;


public interface UserService {

	public List<Users> getAll();
	public Users findByUserId(Integer userId);
	public Boolean insert(Users user);
	public Boolean update(Users user);
	public Boolean delete(Users user);
	public Boolean deleteUserById(Integer id);	
	public Users userLogin(String userName,String passwod);	
	public Users adminLogin(String userName,String passwod);	
	public List<Users> notActive();	
	public Boolean activeUser(Users user);
	public List<Users> getUserNotAdmin();
	public Users getUserByName(String userName);
	public List<Users> getInstructor();
}
